export const roles = {
  names: {
    admin: '管理员',
    master: '店长',
    delivery: '配送员',
    staff: '员工',
    custom: '客户',
  },
  getName: function (role) {
    return this.names[role || 'custom'] || this.names.custom
  }
}